<!DOCTYPE html>
<!--
This is a starter template page. Use this page to start your new project from
scratch. This page gets rid of all links and provides the needed markup only.
-->
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:th="http://www.thymeleaf.org"
	xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
	<title>添加会议演讲嘉宾</title>
<head th:replace="top::html">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>AdminLTE 2 | Starter</title>
<!-- Tell the browser to be responsive to screen width -->
<meta
	content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
	name="viewport">

</head>
<body class="fixed hold-transition skin-blue">
	<div class="wrapper">

		<!-- Main Header -->
		<div th:replace="tophtml::html"></div>

		<!-- Left side column. contains the logo and sidebar -->

		<div th:replace="left::html"></div>

		<!-- Content Wrapper. Contains page content -->
		<form th:action="@{saveUpdateConference}" method="post"
			enctype="multipart/form-data">
			<div class="content-wrapper">
				<!-- Content Header (Page header) -->
				<section class="content-header">
					<h1>
						修改会议 <small>Optional description</small>
					</h1>
					<ol class="breadcrumb">
						<li><a href="#"><i class="fa fa-dashboard"></i> Level</a></li>
						<li class="active">Here</li>
					</ol>
				</section>

				<!-- Main content -->
				<section class="content container-fluid">


					<input type="hidden" th:value="${pid}" class="form-control"
						name="pid"> <input type="hidden"
						th:value="${conference.conferenceNumber}" class="form-control"
						name="conferenceNumber">

					<div class="form-group">
						<label>活动名称</label> <input type="text"
							th:value="${conference.conferenceName}" class="form-control"
							name="conferenceName" placeholder="Enter ...">
					</div>

					<div class="form-group">
						<label>会议主页</label> <input
							th:value="${conference.conferenceWebSite}" class="form-control"
							name="conferenceWebSite" placeholder="http://">
					</div>


					<div class="form-group">
						<label>活动总结</label>
						<textarea class="form-control" name="conferenceSummary"
							th:utext="${conference.conferenceSummary}" rows="3"
							placeholder="Enter ..."></textarea>
					</div>

					<div class="form-group">
						<label>所属领域</label>
						<div class="checkbox">
							<label> <input type="checkbox" name="researchField"
								checked="checked" value="0"> 工程材料
							</label>
						</div>
						<div class="checkbox">
							<label> <input type="checkbox" name="researchField"
								value="1"> 生物医药
							</label>
						</div>
					</div>

					<div class="form-group">
						<label>Date:</label>

						<div class="input-group date">
							<div class="input-group-addon">
								<i class="fa fa-calendar"></i>
							</div>
							<input type="text" class="form-control pull-right"
								th:value="${conference.conferenceDateTime}" id="datepicker"
								name="conferenceDateTime">
						</div>
					</div>


					<div class="form-group">
						<label>Select</label> <select class="form-control form-area"
							id="provinceId">
							<option>--选择省--</option>
							<!-- th:field="${province}" -->
							<option th:each="list:${provinceDictiontryList}"
								th:selected="${list.names eq province}" th:value="${list.names}"
								th:text="${list.worth}"></option>
						</select>
					</div>
					<div class="form-group">
						<label>Select</label> <select class="form-control form-area"
							id="cityId">
							<option th:each="cityList:${cityDictiontryList}"
								th:selected="${cityList.names eq cityId}"
								th:value="${cityList.names}" th:text="${cityList.worth}">--选择市--</option>
						</select>
					</div>
					<div class="form-group">
						<label>Select</label> <select class="form-control form-area"
							id="areaId" name="area">
							<option th:each="arealist:${areaDictiontryList}"
								th:selected="${arealist.names eq areaId}"
								th:value="${arealist.names}" th:text="${arealist.worth}">--选择区--</option>
						</select>
					</div>


					<div class="form-group">
						<label for="exampleInputFile">活动总结附件</label> <input type="file"
							name="conferenceFiles" id="conferenceFile">

						<p class="help-block">Example block-level help text here.</p>
					</div>


					<div class="form-group">
						<label>会议执行团队</label> <input type="text" class="form-control"
							name="tearm" placeholder="用逗号隔开">
					</div>

					<div class="box-footer">
						<button type="submit" class="btn btn-primary">保存</button>
					</div>

				</section>
			</div>

		</form>
		<!-- Main Footer -->
		<div th:replace="footer::html"></div>

		<div class="control-sidebar-bg"></div>
	</div>

	<div th:replace="bottom::html"></div>
	<script src="/js/formValid.js"></script>
	

</body>
</html>